home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 41 / Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso / -seriously_amiga- / programming / other / scrollingtricks / scrollingtrick.readme < prev    next >
Text File  |  1999-04-19  |  2KB  |  39 lines

  1. Short:    Best scrolling algor. for games (doc+src)
  2. Author:   georg.steger@rolmail.net (Georg Steger)
  3. Uploader: georg.steger@rolmail.net (Georg Steger)
  4. Version:  1.0
  5. Type:     dev/src
  6. Requires: OS 3.0, OCS/ECS/AGA, 15khz Monitor (or scandoubler), Joystick
  7.  
  8. In this archive you find the fastest possible scrolling algorithms for
  9. block-based (tile-based) games like Turrican, Giana Sisters, Lionheart,
  10. Battle Squadron, Z-Out, R-Type, ...
  11.  
  12. You will find documentation (HTML) and demo programs with source code in C
  13. for horizontal-only, vertical-only and 8-way scrollers. The scrolling algo-
  14. rithms are extremely fast. They never scroll anything with the CPU or the
  15. Blitter, only blocks that "come in" are blitted. The routines never blit
  16. whole block-columns (horizontal scrolling) or whole block-rows (vertical
  17. scrolling). Instead the job is divided into BLOCKWIDTH/BLOCKHEIGHT steps. 
  18.  
  19. All demo programs have an option to show what happens to the bitmap intern-
  20. ally when one scrolls around. This makes it much easier to understand how
  21. the algorithms work.
  22.  
  23. The algorithms are designed for the Amiga chipset and the demo programs hit
  24. the hardware directly. Anyway it should be possible to use very very simi-
  25. liar techniques on GFX cards. The docs gives some info on what to take into
  26. account when trying to port certain algorithms to GFX cards (chunky pixel
  27. mode). Maybe future versions of this archive will include RTG versions of
  28. the demo programs which should also work on GFX cards = only OS functions
  29. are used. Unfortunately I don't have a GFX card, so this is still very
  30. uncertain.
  31.  
  32.  
  33.   Georg Steger
  34.   Hochlercher 30
  35.  
  36.   I-39030 St. Johann/Ahrntal
  37.   
  38.   EMail: georg.steger@rolmail.net
  39.